/*
 * @Description: 发布中心
 * @Author: iamsmiling
 * @Date: 2021-06-05 17:24:59
 * @LastEditTime: 2021-06-05 17:55:51
 */

import 'package:credit_business_circle/R/R.dart';
import 'package:credit_business_circle/domain/local/publish/publish_category_entity.dart';
import 'package:get/get.dart';

class PublishSquareController extends GetxController {
  bool showTip = true;

  close() {
    showTip = false;
    update();
  }

  List<PublishCategoryEntity> categories = [
    PublishCategoryEntity(
        description: "有产品需推广并提供预算甲方，寻找有各效果推广渠道的乙方",
        label: "广告主",
        icon: R.image.partyAd,
        type: PublishType.ad),
    PublishCategoryEntity(
        description: "有流量想要变现，提供各效果推广渠道，寻找有推广需求的甲方",
        label: "流量主",
        icon: R.image.partyPlatform,
        type: PublishType.platform),
    PublishCategoryEntity(
        description: "寻找异企合作",
        label: "异企合作",
        icon: R.image.inerOrganizationCooperation,
        type: PublishType.interOrganizationCooperation),
    PublishCategoryEntity(
        description: "发布渠道分销、代理、加盟、买卖等信息合作",
        label: "分销代理",
        icon: R.image.agent,
        type: PublishType.agent),
    PublishCategoryEntity(
        description: "寻找活动推广、联合举办方、赞助等",
        label: "活动合作",
        icon: R.image.actitvity,
        type: PublishType.activityCooperation),
    PublishCategoryEntity(
        description: "提供企业服务，寻找有需求的甲方",
        label: "企业服务",
        icon: R.image.enterprise,
        type: PublishType.enterpriseService),
  ];
}
